home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / www / cern / dev / www-talk.9301-9306.Z / www-talk.9301-9306 / text1177.txt < prev    next >
Encoding:
Text File  |  1995-04-24  |  1.1 KB  |  33 lines

  1. Tony Sanders writes:
  2. > When returning a document of unknown content what should the header
  3. > format say?
  4. > Options as I see it are:
  5. > 1   Content-type: text/plain\n\n[raw data]
  6. > 2   Context-type: text/html\n\n<PLAINTEXT>\n[raw data]
  7. >     [Is <PLAINTEXT> being depreciated?]
  8. > 3   Context-type: application/binary [for binary files and]
  9. >     Context-type: text/plain [for text files]
  10.  
  11. Yes (3).  When in complete doubt, punt to an octet-stream.
  12.  
  13. > I'm assuming option #3 unless I hear otherwise.  It will work well
  14. > if browers do something like <PLAINTEXT> for text/plain and
  15. > pop up a save file dialog for application/binary.
  16. > Marc: How is Mosaic going to handle things like .cave files?
  17. > are there going to be MIME types added for stuff like this?
  18.  
  19. I figure application/x-cave will be enough.  People outside NCSA/EVL
  20. probably don't need to think about this particular one, its presence
  21. in the Mosaic code notwithstanding, but the same issue will come up
  22. repeatedly all over the place and the answer should almost always be
  23. an experimental (x-) MIME content subtype.
  24.  
  25. Cheers,
  26. Marc
  27.  
  28.